home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
imagebuf.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
682b
|
26 lines
/* ImageBuffer class works with VGA-EGA 16 color bitmap images. It keeps the
line of pixels (uchars) and reduce the number of imageP image
real splittings.
*/
#ifndef __IMAGE_GUFFER_H_
#define __IMAGE_GUFFER_H_
#include "image_p.h"
#include "simple.h"
#include "geom.h"
extern bw_pix(int color, int x, int y); // returns BW pixel, BLACK of WHITE (1),
// depending of pattern for color. Defined in GBUF.H
struct ImageBuffer
{
uchar pixels[8];
loc coord; // y coordinate
ImageBuffer() { coord.Y = -1; }
uchar image_get_pixel(imageP image, int byte, int vert_shift);
};
#endif __IMAGE_GUFFER_H_